package cn.iocoder.yudao.module.mqtt.enums;// TODO 待办：请将下面的错误码复制到 yudao-module-medi 模块的 ErrorCodeConstants 类中。注意，请给“”设置一个错误码编号！！！
// ========== 用户信息  ==========

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

public interface ErrorCodeConstants {
    ErrorCode USER_NOT_EXISTS = new ErrorCode(10001, "用户信息不存在");
    ErrorCode DEVICE_NOT_EXISTS = new ErrorCode(10002, "IoT 设备不存在");
    ErrorCode CONFIG_NOT_EXISTS = new ErrorCode( 10003, "MQTT配置不存在");
    ErrorCode DEVICE_GROUP_NOT_EXISTS = new ErrorCode(10004, "设备分组不存在");
    ErrorCode COMM_PORT_NOT_EXISTS = new ErrorCode(10005, "通讯口配置不存在");
    ErrorCode DEVICE_DRIVER_NOT_EXISTS = new ErrorCode(10006, "设备驱动不存在");
    ErrorCode DEVICE_REPORT_NOT_EXISTS = new ErrorCode(10007, "MQTT报表分类不存在");
    ErrorCode SUBSCRIBE_WATER_NOT_EXISTS = new ErrorCode(10008, "MQTT水监控不存在");
    ErrorCode DEVICE_GROUP_EXITS_CHILDREN = new ErrorCode(2, "存在存在子设备分组，无法删除");
    ErrorCode DEVICE_GROUP_PARENT_NOT_EXITS = new ErrorCode(3,"父级设备分组不存在");
    ErrorCode DEVICE_GROUP_PARENT_ERROR = new ErrorCode(4, "不能设置自己为父设备分组");
    ErrorCode DEVICE_GROUP_NAME_DUPLICATE = new ErrorCode(5, "已经存在该分组名字的设备分组");
    ErrorCode DEVICE_GROUP_PARENT_IS_CHILD = new ErrorCode(6, "不能设置自己的子DeviceGroup为父DeviceGroup");
    ErrorCode SYSTEM_CONFIG_NOT_EXISTS = new ErrorCode(7, "MQTT系统配置不存在");

    ErrorCode CONFIG_ALARM_NOT_EXISTS = new ErrorCode(8, "MQTT报警配置不存在");

    ErrorCode DEVICE_DATA_TYPE_EXISTS = new ErrorCode(9, "数据类型已存在");

    ErrorCode DEVICE_ALERM_RECORD_NOT_EXISTS = new ErrorCode(10, "报警记录不存在");

    ErrorCode DEVICE_AUTH_NOT_EXISTS = new ErrorCode(11, "设备报警授权不存在");

    ErrorCode WEIXIN_MENU_NOT_EXISTS = new ErrorCode(12, "微信菜单不存在");

    ErrorCode DEVICE_LATEST_NOT_EXISTS = new ErrorCode(18, "设备最新信息不存在");

    ErrorCode WEIXIN_MENU_EXITS_CHILDREN = new ErrorCode(13, "存在存在子微信菜单，无法删除");
    ErrorCode WEIXIN_MENU_PARENT_NOT_EXITS = new ErrorCode(14,"父级微信菜单不存在");
    ErrorCode WEIXIN_MENU_PARENT_ERROR = new ErrorCode(15, "不能设置自己为父微信菜单");
    ErrorCode WEIXIN_MENU_MENU_NAME_DUPLICATE = new ErrorCode(16, "已经存在该微信菜单按钮的微信菜单");
    ErrorCode WEIXIN_MENU_PARENT_IS_CHILD = new ErrorCode(17, "不能设置自己的子WeixinMenu为父WeixinMenu");
    ErrorCode DEVICE_LATEST_LOG_NOT_EXISTS = new ErrorCode(18, "站点流量不存在");
    ErrorCode SCMC_NOT_EXISTS = new ErrorCode(19, "监测局不存在");

    ErrorCode DEVICE_LATEST_FLOW_LOG_NOT_EXISTS = new ErrorCode(20, "水量日志不存在");
}
